package com.google.code.customercare.common;

/**
 * Class nay se dong goi cac funny message cua he thong
 * Va diem den tiep theo cua flow chuong trinh sau khi thong bao duoc xuat ra
 * Su dung class nay se la messagePopup.jsp va SysMessage.jsp
 * Nhu vay moi action deu se tro ve mot trang duy nhat. Tai trang sysMessage.jsp nay
 * Result se duoc xu ly: xuat msg roi sau do thuc hien redirect view den trang ke tiep, diem den tiep
 * theo se nam trong destination. Tach biet nhu vay se khong lo bi conflict js nua.
 * Thong bao cua he thong luon luon day du. 
 * @author manhdung
 *
 */
public class Result {

	private String reloadPage;
	private String msg;
	private String destination;


	@Override
	public String toString() {
		return "Result [reloadPage=" + reloadPage + ", msg=" + msg
				+ ", destination=" + destination + "]";
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public String getDestination() {
		return destination;
	}
	public void setDestination(String destination) {
		this.destination = destination;
	}
	public String getReloadPage() {
		return reloadPage;
	}
	public void setReloadPage(String reloadPage) {
		this.reloadPage = reloadPage;
	}
}
